home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-0195.lzh / AMOSLIST / text0184.txt < prev    next >
Encoding:
Text File  |  1995-02-01  |  1.3 KB  |  43 lines

  1. > Hi I am new on this Amos list so hopefully here goes:-
  2. > Is it possible at all to replace the sad Amos error message which comes
  3. > up when you are:-
  4. > 1) Write to disk that is not there?
  5. > 2) Load A file when disk is not in Df0: ?
  6. > 3) Save a file to a disk when write protected ?
  7. > The on error level trapping doesnt seem to work with these errors and instead 
  8. > of my very fancy error procedure executing a get the usual sad Amos Requester?
  9. Usually i use this way (but i work in Amos Pro!):
  10.  
  11. - Insert command Request Off at the start of your program. It turn off Amos
  12. Pro Requester.
  13.  
  14. - Use error-handling routines that get an error if it occours 
  15.   EX: A=Errn
  16.  
  17.   - Write a procedure that allows you to print a different error message
  18.     on the screen or a procedure that flash if an error comes.
  19.  
  20.     I used this way to get errors in my Pattern Generator V11 program and
  21.     it seems to work fine...
  22.  
  23.     However, if you have this problem, i can search my procedures and
  24.     send you a copy...
  25.  
  26.     Hallo from Luca "Storm" (aldo@di.unito.it)
  27.     ------------------------------------------
  28.     |                                        |
  29.     |  Amiga Forever!                        |
  30.     |  The only love in my life!             |
  31.     |                                        |
  32.     ------------------------------------------
  33.  
  34.  
  35.  
  36.